// Shape.h: interface for the CShape class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SHAPE_H__3CE77E91_8B5E_11D2_807A_00A0C91F41A7__INCLUDED_)
#define AFX_SHAPE_H__3CE77E91_8B5E_11D2_807A_00A0C91F41A7__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CShape  
{
public:
	int  GetVirtualHeight();
	void SetRealHeight(int len);
	int  GetRealHeight();
	void SetFillColour(COLORREF );
	void SetBorderColour(COLORREF );
	int  GetVirtualLength();
	void Init();
	virtual void SetRealLength(int len);
	virtual void SetVirtualLength(int len);
	virtual int Draw(CDC *pDC);     // return virtual length of the object drawn
	CShape();
	virtual ~CShape();

	// Attributes
protected:
	int m_nVirtualLength;
	int m_nRealLength;
    int m_nVirtualHeight;
    int m_nRealHeight;
    COLORREF m_BorderColour;
    COLORREF m_FillColour;
};

#endif // !defined(AFX_SHAPE_H__3CE77E91_8B5E_11D2_807A_00A0C91F41A7__INCLUDED_)
